body {
  margin: 0;
}

*:focus {
  outline: 0;
}

.container {
  position: relative;
  max-width: 1150px;
  margin: 0 auto;

  .version {
    float: left;
    display: block;
    padding: 9px;
    text-decoration: none;

    &:before {
      content: "v";
    }
  }
}

h1 {
  line-height: 128px;
  margin: 0 0 0 -10px;
  font-size: 2.5em;

  .logo {
    float: left;
  }

  .page-title {
    display: inline-block;
    margin: 3px 0 0 10px;
  }
}

header {
  padding: 20px 0 15px 0;

  h2 {
    padding: 0;
    margin: 0;
    font-size: 2em;
  }

  .underline {
    text-decoration: underline;
  }

  .explain strong, .hint {
    font-size: 1.5em;
  }

  .hint {
    font-style: italic;
    color: #999;
    font-family: 'Helvetica Neue', Arial, sans-serif;
  }
}

.CodeMirror {
  font-family: monaco, Consolas, Menlo, Courier, monospace;
  font-size: 16px;
  line-height: 1.5em;
}

.CodeMirror-hints {
  font-family: monaco, Consolas, Menlo, Courier, monospace;
  font-size: 14px;
  line-height: 20px;
}

#themes-example + .CodeMirror {
  height: 300px;
}

#addons + .CodeMirror,
#structure + .CodeMirror {
  height: 250px;
}

#style + .CodeMirror {
  height: 450px;
  margin-bottom: 100px;
}

#addons + .CodeMirror
#structure + .CodeMirror,
#style + .CodeMirror {
  pre {
    margin-left: 0;
  }

  .CodeMirror-lines .CodeMirror-cursor {
    margin-left: 0;
  }
}

.select-style {
    border: 1px solid #ccc;
    width: 120px;
    border-radius: 3px;
    overflow: hidden;
    background: #fafafa url("") no-repeat 90% 50%;
}

.select-style {
  margin-bottom: 15px;

  select {
    padding: 5px 8px;
    width: 130%;
    border: none;
    box-shadow: none;
    background: transparent;
    background-image: none;
    -webkit-appearance: none;

    &:focus {
        outline: none;
    }
  }
}

.action-bar {
  box-sizing: border-box;
  position: fixed;
  bottom: 0;
  left: 0;

  width: 100%;
  padding: 20px;
  background-color: #f0f0f0;
  text-align: right;
  z-index: 10;

  button {
  	background: linear-gradient(to bottom, #79bbff 5%, #378de5 100%);
  	background-color: #79bbff;
  	border-radius: 6px;
  	border: 1px solid #84bbf3;
  	display: inline-block;
  	cursor: pointer;
  	color: #ffffff;
  	font-family: Arial;
  	font-size: 16px;
  	font-weight: bold;
  	padding: 6px 24px;
  	text-decoration: none;
  	text-shadow: 0px 1px 0px #528ecc;

    &:hover {
    	background: linear-gradient(to bottom, #378de5 5%, #79bbff 100%);
    	background-color: #378de5;
    }

    &:active {
    	position: relative;
    	top: 1px;
    }
  }
}

.logo {
  display: inline-block;
	width: 128px;
	height: 128px;
	background-image:  url('');
}
